/*
 *  MandelbrotSet.h
 *  mandelbrot
 *
 *  Created by Filip Krikava on 3/3/10.
 *  Copyright 2010 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef MANDELBROTSET_H_
#define MANDELBROTSET_H_

#include <string>

#include "image.h"

class RenderingOptions {
public:
	int width;
	int height;

	double xmin;
	double xmax;
	double ymin;
	double ymax;
	int max_iterations;

	std::string toString();
};

class MandelbrotSet {
	public:
	static image_t* render(const RenderingOptions& options);

};

rgb_t computeColor(int iter, double zx, double zy);

#endif /* MANDELBROTSET_H_ */

